package com.universityJob.modules.data.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import com.github.pagehelper.Page;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.universityJob.modules.data.entity.DataJobEntity;
import org.apache.ibatis.annotations.Mapper;

import javax.xml.crypto.Data;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 *
 *
 * @author Mark
 * @email
 * @date
 */
@Mapper
public interface DataJobDao extends BaseMapper<DataJobEntity> {

    /**
     * 根据id查询职位信息（包含职位所属的企业名）
     */
    DataJobEntity selectJobByid(String id);

    DataJobEntity selectJobByOid(String id);

    boolean truncate();

    boolean insertJobs(List<DataJobEntity> jobs);

    boolean insertJob(DataJobEntity job);

    List<DataJobEntity> selectJobList(Page<DataJobEntity> page, Map job);

}
